package com.itheima.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @className OrderDto
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderPageQueryDto {

    //姓名
    private String name;
    //手机号
    private String phoneNumber;
    //档案编号
    private String fileNumber;
    //预约日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate orderDate;
    //预约类型
    private String orderType;
    //预约状态
    private String orderStatus;
}
